package com.zz.dubbo.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

@ImportResource("classpath:provider.xml")
@SpringBootApplication(scanBasePackages = "com.zz.dubbo.example")
@MapperScan("com.zz.dubbo.example.dao")
public class DubboApplication {

	public static void main(String[] args) {
		SpringApplication.run(DubboApplication.class, args);
	}
}
